import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    cn_scence_ctrl_show: false, // 中文场景控制显示
    en_scence_ctrl_show: false, // 英文场景控制显示
  },
  getters: {},
  mutations: {
    updateCnScenceCtrlShow(state, flag) {
      state.cn_scence_ctrl_show = flag;
    },
    updateEnScenceCtrlShow(state, flag) {
      state.en_scence_ctrl_show = flag;
    },
  },
  actions: {},
  modules: {},
});
